package com.xueyi.system.records.service.impl;

import com.xueyi.system.records.domain.query.BaseAuditRecordsQuery;
import com.xueyi.system.records.domain.dto.BaseAuditRecordsDto;
import com.xueyi.system.records.service.IBaseAuditRecordsService;
import com.xueyi.system.records.manager.IBaseAuditRecordsManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 审核记录管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseAuditRecordsServiceImpl extends BaseServiceImpl<BaseAuditRecordsQuery, BaseAuditRecordsDto, IBaseAuditRecordsManager> implements IBaseAuditRecordsService {

    /**
     * 查询审核记录对象列表 | 数据权限 | 附加数据
     *
     * @param auditRecords 审核记录对象
     * @return 审核记录对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseAuditRecordsMapper"})
    public List<BaseAuditRecordsDto> selectListScope(BaseAuditRecordsQuery auditRecords) {
        return baseManager.selectListExtra(auditRecords);
    }

}